package com.yuke.cloud.service.uac.service;

import com.yuke.cloud.common.core.support.IService;
import com.yuke.cloud.service.api.smc.dto.ShopInfoDto;
import com.yuke.cloud.service.uac.entity.AccDeliveryAddress;

import java.util.List;


/**
 * Created by wg on 2018/11/17.
 */
public interface AccDeliveryAddressService extends IService<AccDeliveryAddress> {
    AccDeliveryAddress getDefaultDeliveryAddressByUserId(Long userId);
    List<AccDeliveryAddress> selectDeliverAddressInfoByUserId(Long userId);
    AccDeliveryAddress selectDefaultDeliveryAddressByUserId(Long userId);
    void saveDeliveryAddress(AccDeliveryAddress accDeliveryAddress);
    Integer saveUserDeliveryAddress(ShopInfoDto shopInfoDto);

}
